<?php
require_once APPPATH.'third_party/base_controller'.EXT;
    class Term extends Base_Controller
    {
        function __construct()   
        {
            parent::__construct();
            $this->output->cache(5) ;
        }
            
        function detail()
        {
            $data = array();           
            $url = $this->uri->segment('2');
            $pages = $this->page_model->get_by_page($url);
            $data['pages'] = $this->page_model->get_by_page($url);           
			$data['title'] = $pages->title;
            $data['meta_keyword'] = $pages->meta_keyword;
            $data['meta_description'] = $pages->meta_description;
            $this->load_render($this->load->view('term/detail',$data,TRUE));
        }
   }
?>        